package com.petc.api.service.user;

import com.baomidou.mybatisplus.extension.service.IService;
import com.petc.api.entity.User;

import java.util.HashMap;

public interface UserService extends IService<User> {

    /**
     * 根据微信openId+unionid 查询用户是否存在
     * @return
     */
    User queryByUser(HashMap<String, Object> parse);

    /**
     * 添加
     * @param user
     */
    void insert(User user);
}
